package com.study.mybatisplus.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.util.List;

import com.study.mybatisplus.base.BaseEntity;
import com.study.mybatisplus.entity.json.JsonInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户
 * </p>
 *
 * @author yuanZhi
 * @since 2020-05-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_user")
@ApiModel(value="User对象", description="用户")
public class User extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "账号名称")
    private String account;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "json字段测试")
    private List<JsonInfo> json;

    @ApiModelProperty(value = "姓名")
    private String name;

    private Integer type;

    @ApiModelProperty(value = "状态：1.正常/0.归档")
    private Integer state;

    private LocalDateTime time;


}
